Test Data Generation for Web Applications: A Constraint and Knowledge-based Approach
نویسندگان
چکیده
Software testing is an important part of the software development process. Much work been has done on automating various parts of testing. In previous work, we had proposed a knowledge-based approach to generate test scenarios for Web applications. However, our previous work did not account for generation of actual test data. Thus, in order to execute the test scenarios, the user would need to (manually) create the test data. This paper proposes an approach to generate test data for our previously proposed test scenario generation tool. Our approach can generate two types of test data: constraint-based test data and database-based test data. Our tool can now automatically execute the combined test scenario and test data. We confirmed the usefulness of our approach through a case study. Keywords-test data generation; Web applications; test scenario
منابع مشابه
A density based clustering approach to distinguish between web robot and human requests to a web server
Today world's dependence on the Internet and the emerging of Web 2.0 applications is significantly increasing the requirement of web robots crawling the sites to support services and technologies. Regardless of the advantages of robots, they may occupy the bandwidth and reduce the performance of web servers. Despite a variety of researches, there is no accurate method for classifying huge data ...
متن کاملKnowledge sharing for continuous business engineering based on web intelligence
Modern business trends require from companies continuous business engineering to guarantee a continuous business improvements. Since the Internet has become an easy accessible and popular place business applications the problem of knowledge sharing based on using Web tools and dealing with knowledge representation and processing becomes actual. Existing tools are usually oriented to good struct...
متن کاملData Extraction using Content-Based Handles
In this paper, we present an approach and a visual tool, called HWrap (Handle Based Wrapper), for creating web wrappers to extract data records from web pages. In our approach, we mainly rely on the visible page content to identify data regions on a web page. In our extraction algorithm, we inspired by the way a human user scans the page content for specific data. In particular, we use text fea...
متن کاملSemantic Constraint and QoS-Aware Large-Scale Web Service Composition
Service-oriented architecture facilitates the running time of interactions by using business integration on the networks. Currently, web services are considered as the best option to provide Internet services. Due to an increasing number of Web users and the complexity of users’ queries, simple and atomic services are not able to meet the needs of users; and to provide complex services, it requ...
متن کاملDesign and Evaluation of a Method for Partitioning and Offloading Web-based Applications in Mobile Systems with Bandwidth Constraints
Computation offloading is known to be among the effective solutions of running heavy applications on smart mobile devices. However, irregular changes of a mobile data rate have direct impacts on code partitioning when offloading is in progress. It is believed that once a rate-adaptive partitioning performed, the replication of such substantial processes due to bandwidth fluctuation can be avoid...
متن کامل